{% extends "saml2sp/base.html" %}

{% block content %}
You are now logged out of this Service Provider.<br />
{% if idp_logout_url %}
You are still logged into your Identity Provider.
You should logout of your Identity Provider here:<br />
<form method="POST" action="{{ idp_logout_url }}">
{# Spec: SAML-Bindings 3.5.8 : Missing a "RelayState" parameter? #}
    <input type="hidden" name="SAMLRequest" value="{{ saml_request }}" />
    <input type="submit" value="Logout at the Identity Provider">
</form>
<!-- SAML Request is:
{{ logout_req|safe }}
-->
{% if autosubmit %}
<script language="javascript">
<!--
/* Automatically submit the form. */
document.forms[0].submit();
//-->
</script>
{% endif %}
{% endif %}
{% endblock content %}
